package bjtu.cit.bookshop.daos;

import bjtu.cit.bookshop.entities.Note;
import bjtu.cit.bookshop.entities.NoteWithBLOBs;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NoteMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(NoteWithBLOBs record);

    int insertSelective(NoteWithBLOBs record);

    NoteWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(NoteWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(NoteWithBLOBs record);

    int updateByPrimaryKey(Note record);

    List<NoteWithBLOBs> selectNoteList();
}